﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Green.AgileMapper
{
    public interface  IMappingConfigurator
    {
        Func<object, object, bool> DefaultEqualExpression
        {
            get;
            set;
        }

        bool IsNeedCache
        { get; }

        /// <summary>
        /// 标签对象，数据源对象
        /// </summary>
        /// <param name="from"></param>
        /// <returns></returns>
        IMappingRule[] GetMappingRule(object from);

        string GetConfigurationName();
    }
}
